#include "triangularcurve.h"

namespace CurveEditor {

TriangularCurve::TriangularCurve():
    AbstractCurve(CURVE_TRI)
{

}

TriangularCurve::~TriangularCurve()
{

}

RandomCurve TriangularCurve::toRandomCurve()
{
    RandomCurve randCurve;
    // TODO: change curve to random type

    return randCurve;
}

void TriangularCurve::validate()
{

}

bool TriangularCurve::isValid()
{
    bool valid = true;
    // TODO: checking if curve's parameter is ok

    return valid;
}

} // CurveEditor
